package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 一级标签表(LevelOneLabel)实体类
 *
 * @author 杨丽辉
 * @since 2021-03-01 15:33:36
 */
@ApiModel("一级标签表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LevelOneLabel implements Serializable {
    private static final long serialVersionUID = 101478290192011351L;
        /**
    *主键
    * 一级标签id
    * isnull 1
    */
    @ApiModelProperty(value="一级标签id", position=1)
    @TableId(type = IdType.ASSIGN_ID)
    private String labelId;

    /**
    * 一级标签名称
    * isnull 0
    */        @ApiModelProperty(value="一级标签名称",position=2)
    private String labelName;
    /**
    * 一级标签被添加次数
    * isnull 0
    */        @ApiModelProperty(value="一级标签被添加次数",position=3)
    private Integer labelCount;
        
    public String getLabelId() {
        return labelId;
    }

    public void setLabelId(String labelId) {
        this.labelId = labelId;
    }
        
    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
        
    public Integer getLabelCount() {
        return labelCount;
    }

    public void setLabelCount(Integer labelCount) {
        this.labelCount = labelCount;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"labelId\":" + labelId +
                                  " ,\"labelName\":" + labelName +
                            " ,\"labelCount\":" + labelCount +
                  '}';
    }


}
